<template lang="html">
  <div class="gongsi_yl">
            <ul class="clear">
                <!--公司-->
              <li class="li_sfir" v-for="item in company">
                  <a class="ly_a" href="javascript:void(0)">
                    <img :src="item.pic">
                  </a>
                  <a class="ly_p" href="javascript:void(0)">{{item.name}}</a>
              </li>
            </ul>
        </div>
</template>

<script>
export default {
  props:['company']
}
</script>

<style lang="css" scoped>
.gongsi_yl {
    padding: 0px 10px;
    background-color: #FFF;
    border-bottom: 1px solid #d1d0d1;
    padding-bottom: 5px;
}
.gongsi_yl ul {
    width: 100%;
}
.gongsi_yl ul li.li_sfir {
    margin-left: 0%;
}

@media screen and (max-width: 480px){
.gongsi_yl ul li {
    width: 23.5%;
    margin-left: 2%;
    float: left;
    margin-bottom: 10px;
  }
}
.ly_a {
    width: 100%;
    height: 50px;
    float: left;
    border: 1px solid #e1e1e1;
    border-bottom: 0px solid #e1e1e1;
    border-radius: 5px 5px 0px 0px;
}
.ly_p {
    width: 100%;
    height: 28px;
    overflow: hidden;
    line-height: 28px;
    background-color: #f0efe8;
    color: #333;
    float: left;
    display: inline-block;
    text-align: center;
    font-size: 14px;
    border: 1px solid #f0efe8;
    border-radius: 0px 0px 5px 5px;
}
.ly_a img {
    width: 100%;
    border-radius: 5px 5px 0px 0px;
    height: 50px;
}
</style>
